package com.cvo.scrumtoolkit.client.services;

import java.util.List;



import com.cvo.scrumtoolkit.client.entities.BacklogItem;
import com.cvo.scrumtoolkit.client.entities.Project;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface ScrumToolServiceAsync {

	void getProjects(AsyncCallback<List<Project>> callback);

	void projectsave(Project project, AsyncCallback<Project> callback);

	void getItem(long id, AsyncCallback<BacklogItem> callback);

	void getItems(String project, AsyncCallback<List<BacklogItem>> callback);

	void getNumberOfItems(Project project, AsyncCallback<Integer> callback);

	void projectload(String project, AsyncCallback<Project> callback);

	void saveItem(BacklogItem obj, AsyncCallback<BacklogItem> callback);

	void updateItem(BacklogItem obj, AsyncCallback<Void> callback);

		
}
